package cn.hotel.service.impl;

import cn.hotel.entity.RoomTypeMoney;
import cn.hotel.mapper.RoomTypeMoneyMapper;
import cn.hotel.service.RoomTypeMoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoomTypeMoneyServiceImpl implements RoomTypeMoneyService {
    @Autowired
    private RoomTypeMoneyMapper moneyMapper;

    @Override
    public List<RoomTypeMoney> queryRoomTypeMoney() {
        List<RoomTypeMoney> roomTypeMonies = moneyMapper.queryRoomTypeMoney();
        return roomTypeMonies;
    }
}
